package cn.edu.scau.cmi.yangzemin.abstractFactory;

public abstract class AbstractFactory {
	public AbstractFactory getFactory(String brand) {
		switch(brand){
		case "Wens":	return new WensFactory();	
		case "Tianbang":return new TianbangFactory();	
		case "Aonong":	return new AonongFactory();	
		}
		return null;
	}
	public abstract ClientConsumeBrand createPork();
	public abstract ClientConsumeBrand createBeef();
	public abstract ClientConsumeBrand createChicken();
}
